#ifndef __H_ACTIVEEVENT_H__
#define __H_ACTIVEEVENT_H__
#include "poller.h"
#include <sys/eventfd.h>

class MsgRouter;

class CActiveEvent : public CPollerObject
{
public:
	CActiveEvent();
	virtual ~CActiveEvent();

	int create(void);
	int signal(void);

	MsgRouter* m_pServer;
private:
	int Init();
	int InputNotify(void);
	int HangupNotify(void);
};

#endif
